]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
altTab: Rename AltTabPopup to AppSwitcherPopup
authorFlorian Müllner <fmuellner@gnome.org>
Mon, 3 Dec 2012 15:31:50 +0000 (16:31 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Wed, 5 Dec 2012 17:42:08 +0000 (18:42 +0100)
We will add support for a window-based popup in addition to the
current application-based one, so use a more descriptive name.

https://bugzilla.gnome.org/show_bug.cgi?id=688913

js/ui/altTab.js
js/ui/windowManager.js

index 95f2badddf10b31ace8fc272066012dc9821e09a..e605fd6c7cded05f664182f48e5e6345984731f5 100644 (file)
@@ -20,8 +20,8 @@ const THUMBNAIL_FADE_TIME = 0.1; // seconds
 
 const iconSizes = [96, 64, 48, 32, 22];
 
-const AltTabPopup = new Lang.Class({
-    Name: 'AltTabPopup',
+const AppSwitcherPopup = new Lang.Class({
+    Name: 'AppSwitcherPopup',
     Extends: SwitcherPopup.SwitcherPopup,
 
     _init : function() {
index ef33fbc5264ae9cdfdd559af09febb64e18b2aec..b1c33e935a47a17e28ab5294cd418df36f7d83ed 100644 (file)
@@ -617,7 +617,7 @@ const WindowManager = new Lang.Class({
         if (this._workspaceSwitcherPopup != null)
             this._workspaceSwitcherPopup.destroy();
 
-        let tabPopup = new AltTab.AltTabPopup();
+        let tabPopup = new AltTab.AppSwitcherPopup();
 
         let modifiers = binding.get_modifiers();
         let backwards = modifiers & Meta.VirtualModifier.SHIFT_MASK;